<template>
  <div>
    <van-tabbar v-model="active" active-color="#f00" route>
      <van-tabbar-item icon="wap-home" to="/">首页</van-tabbar-item>      
      <van-tabbar-item icon="tv-o" to="/video">多多视频</van-tabbar-item>      
      <van-tabbar-item icon="bars" to="/type">分类</van-tabbar-item>      
      <van-tabbar-item icon="chat-o" to="/talk">聊天</van-tabbar-item>      
      <van-tabbar-item icon="smile-o" to="/mine">个人中心</van-tabbar-item>    
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: "TabBar",
  data() {
    return {
      active: 0,
    };
  },
};
</script>

<style lang="less" scoped>
</style>